//---------------------------------------------------------------------------
#ifndef CPServExH
#define CPServExH

//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHGridEd.h"
#include <Grids.hpp>

//---------------------------------------------------------------------------
class TCPServEx1 : public TCadPad1
{
__published:  // IDE-managed Components
  PHGridEdit*  PHGridEdit1;
  TButton*  Button1;
  void __fastcall FormDestroy( TObject* Sender );
  void __fastcall Button1Click( TObject* Sender );
  void __fastcall FormShow( TObject* Sender );
  void __fastcall PHDS1BeforeDelete( TObject* Sender );
  void __fastcall PHDS1BeforeEdit( TObject* Sender );
  void __fastcall PHDS1BeforePost( TObject* Sender );

  private:  // User declarations
  void __fastcall PedeMesAno( void );
  void __fastcall VerificaUsoFaturamento( void );
  void __fastcall VerificaServicoFaturamento(int MesFaturamento);

  public: // User declarations
  __fastcall TCPServEx1( TComponent* Owner );
};

//---------------------------------------------------------------------------
extern PACKAGE TCPServEx1*  CPServEx1;

//---------------------------------------------------------------------------
#endif

